#ifndef _CROSSFIRE_TIMER
#define _CROSSFIRE_TIMER

class CCF_Timer
{
private:
	CCF_Timer();
public:
	static CCF_Timer* pInstance;
	static CCF_Timer* getClassTimer();

	~CCF_Timer();
	void StartTiming();
	void setPause();
	__int64 GetElapsedTime();
	__int64 GetCounter();
	__int64 GetTicksCounter();
	double ConvertTicksToSecond(__int64 Ticks);
	const bool isPause() const;
private:
	__int64 freq;
	bool Pause;
	__int64 StartTime;
};

#endif